{% extends 'CHOMPSGIBundle:Workflow:base.html.twig' %}

{% block formtheme %}
	{% form_theme form 'CHOMPSGIBundle::formRow.html.twig'  %}
{% endblock %}

{% set active_page = "workflow_nuevo" %}
{% block subtitle %} Nueva {% endblock %} 

{% block content %}
	<div class="row-fluid"> 
		<h2>Alta de workflow</h2>

			{{ form_start(form, {attr: {novalidate: 'novalidate'}}) }}
					
					{{ form_row(form.desde) }}
					
					{{ form_row(form.hasta) }}

					{{ form_row(form.empresa) }}

					{{ form_widget(form.save, { 'attr': {'class': 'btn btn-success middle-first'} }) }}

			{{ form_end(form) }}
			<a class="btn middle-second" style="margin-left: 5px;" href="{{ path('workflow_listar') }}">
				Volver
			</a>
		
	</div>
{% endblock %}
 